package com.fy.utils;

import java.util.UUID;

public class UUIDUtil {
	
	public static String getUUID(){
		return UUID.randomUUID().toString().replaceAll("-", "");
	}

	public static String getUUID16(){
		return UUID.randomUUID().toString().replaceAll("-", "").substring(8, 24);
	}

	public static void main(String[] args) {
		System.out.println(getUUID16());
	}
}
